package com.aaa.controller.front;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

@RequestMapping("/front")
@Controller
public class FrontController {

    //关于我们
    @RequestMapping("/about")
    public String about(){ return "/front/about"; }

    @RequestMapping("/blog-2clumn")
    public String blogclumn(){ return "/front/blog-2clumn"; }

    @RequestMapping("/blog-details")
    public String blogdetails(){ return "/front/blog-details"; }

    @RequestMapping("/categories-page4")
    public String categoriespage4(){ return "/front/categories-page4"; }

    @RequestMapping("/checkout")
    public String checkout(){ return "/front/checkout"; }

    @RequestMapping("/collection-page2")
    public String collectionpage2(){ return "/front/collection-page2"; }

    @RequestMapping("/comming-soon")
    public String commingsoon(){ return "front/comming-soon"; }

    @RequestMapping("/comming-soon2")
    public String commingsoon2(){ return "/front/comming-soon2"; }

    //联系我们
    @RequestMapping("/contact")
    public String contact(){ return "/front/contact"; }

    //错误页面
    @RequestMapping("/error2")
    public String error2(){ return "/front/error2"; }

    @RequestMapping("/footer")
    public String footer(){ return "/front/footer"; }

    //头部
    @RequestMapping("/header")
    public String header(){ return "/front/header"; }

//    //我的账户
//    @RequestMapping("/myaccount")
//    public String myaccount(){ return "/front/myaccount"; }

    @RequestMapping("/order-tracking")
    public String ordertracking(){
        return "/front/order-tracking";
    }


    //地址
    @RequestMapping("/address")
    public String address(){
        return "/front/address";
    }
}
